package com.xiyuan.smartutils.client.http.ws.impl;

import com.xiyuan.smartutils.client.http.ws.WebSocketClient;
import com.xiyuan.smartutils.client.ws.WebSocketPacket;
import com.xiyuan.smartutils.client.exception.WebSocketException;

import java.io.IOException;
import java.net.URI;
import java.util.Collections;
import java.util.List;

/**
 * the description for class DefaultWebsocket
 *
 * @author xiyuan-lgz 2024-11-03 @version v1.0.0 新建与整理
 */
public class DefaultWebsocket implements WebSocketClient {
    @Override
    public void connect() throws WebSocketException, IOException {
    
    }
    
    @Override
    public void send(WebSocketPacket packet) throws WebSocketException {
    
    }
    
    @Override
    public URI getLocation() {
        return null;
    }
    
    @Override
    public String getPath() {
        return "";
    }
    
    @Override
    public String getOrigin() {
        return "";
    }
    
    @Override
    public String[] getProtocols() {
        return new String[0];
    }
    
    @Override
    public String getHeader(String name) {
        return "";
    }
    
    @Override
    public List<String> getHeaders(String name) {
        return Collections.emptyList();
    }
    
    @Override
    public void close() {
    
    }
}
